package org.example;

/**
 * @className: Test
 * @author: 芃
 * @description:
 * @date: 2024/5/14 9:31
 */

import org.example.Demo.A;
import org.example.Demo.B;
import org.example.Demo.C;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.atomic.AtomicInteger;

public class Test {
    public static void main(String[] args) {
        int a = 10;
        AtomicInteger atomicInteger = new AtomicInteger(a);
        atomicInteger.getAndAdd(5);
        System.out.println(a);
        System.out.println(atomicInteger.get());
    }
}



